home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 14 / Developer Source Volume 14 (I-MODE Publications, Inc.)(1999).iso / webin / oct97 / holzf112.gif < prev    next >
Graphics Interchange Format  |  1998-02-10  |  80KB  |  467x708  |  4-bit (16 colors)
Labels: text | screenshot | parallel | number | font | document | line
OCR: Method Description Graphics Constructs the Graphics object. clearRectiint, int, int, int) Clears a given rectangle clipRect(int, int, int, int) Clips to a given rectangle copyArca(int, int, int, int, int, int) Copies area of the screen. create Creates a Graphics copy of the original object, dispose Disposes, of graphics. draw3DRect(int, Int, Int, Int, boolean) Draws a 3D rectangle drowArc(int, int, int, int, int, int) Draws an arc bounded by a given rectangle. drawBytes(byte[], int, int, int, int) Draws givon bytes using the current color. draw Chars(char ], int, int, int, int) Draws given characters using the current font and color, drawlmage Image, int, int, Draws a given image, ImageObserver) drawimage(Image, int, int, int, int, Drows a given image inside a rectangle. ImageObserver) drawImage[Image, int, int, Calor, Draws a given image at [x; y) location. ImageObserver) drawImage (image, int, int, int, int .. Draws an image inside a given rectangle, with indicated Color, ImageObserver) background color. drawLine int, int, int, int] Draws a line from beginning to ending coordinates. drawOval(int, Int, Int, int) Draws an oval inside a given rectonglo, drawPolygontint]], int[], int) Draws a polygon defined by an array of x points and y points. drawPolygon(Polygon] Draws a polygon defined by given points drawRect(int, int, int, int) Draws an outline of a given rectangle. drawRoundRect(int, int, int, int, Draws a rounded rectangle. int, int) drawString(String, int, int) Draws a string. 1/3DRect(int, int, int, int, boolean) Fills o 3D rectangle flArctint, int, Int, int, Int, Int) Fills an arc using the current color. HiHIOvalfint, int, int, int) Fills an oval inside a given rectangle with the current color. fillPolygon(Polygon] Fills a polygon with the current color. filRect(int, int, int, int) Fills a given rectangle with the current color, fillRoundRech(int, int, int, int, int, int) Drows a rounded rectangle filled with the current color. finalize Disposes of a graphic when il is not referenced gelClipRect Gets the clipping area. getColor Gets the current color. getFont Gets the current font getFontMetrics Gets the current font metrics getfontMetrics(Font] Gets the current font metrics for a given font. setColor(Color) Sots the current color to a given color. setFont(Font) Sets the font for all text operations. setPaintMade Sets paint mode to overwrite the destination with the current color. setXORMode [Color] Sets, paint mode to XOR. toString Gets a string representing the Graphic's value. translate (int, int) Translates given parameters to the origin. Figure 12: The Graphics class' methods.